﻿CREATE TABLE [dbo].[TB_Pago] (
    [Sysid]                 INT          IDENTITY (1, 1) NOT NULL,
    [SysRendicion]          INT          NULL,
    [MontoAPagar]           INT          NULL,
    [Cheque1]               VARCHAR (30) NULL,
    [Cheque2]               VARCHAR (30) NULL,
    [Transferencia]         VARCHAR (30) NULL,
    [SysBancoTransferencia] INT          NULL,
    [Deposito]              VARCHAR (30) NULL,
    [SysBancoDeposito]      INT          NULL,
    [FechaCreacion]         DATETIME     NULL,
    [SysUsuario]            INT          NULL,
    CONSTRAINT [PK_TB_Pago] PRIMARY KEY CLUSTERED ([Sysid] ASC),
    CONSTRAINT [FK_TB_Pago_TB_Rendiciones] FOREIGN KEY ([SysRendicion]) REFERENCES [dbo].[TB_Rendiciones] ([Sysid])
);

